import 'package:freezed_annotation/freezed_annotation.dart';

part 'content_comment_request.g.dart';
part 'content_comment_request.freezed.dart';

@freezed
class ContentCommentRequest with _$ContentCommentRequest {
  const factory ContentCommentRequest({
    required String contentId,
    required String content,
    required String? parentId,
    required String token,
  }) = _ContentCommentRequest;

  factory ContentCommentRequest.fromJson(Map<String, dynamic> json) =>
      _$ContentCommentRequestFromJson(json);
}
